
function nextPage() {
    var pointer = document.getElementById("nextpage");
    document.location = pointer.value + ".html";
}

function initialise(body) {
    body.onclick = nextPage;
}